package com.dayuanit.dy15.ebook.bookshop.entity;

import java.util.Date;

public class Commodity {
    private Long id;

    private String commoName;

    private String price;

    private String author;

    private String publisher;

    private String publisherTime;

    private String wordNum;

    private Date createTime;

    private Integer stock;

    private Long firstNavId;

    private Long secondNavId;

    private Long thirdNavId;

    private String pictureName;

    private String profile;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCommoName() {
        return commoName;
    }

    public void setCommoName(String commoName) {
        this.commoName = commoName == null ? null : commoName.trim();
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price == null ? null : price.trim();
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author == null ? null : author.trim();
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher == null ? null : publisher.trim();
    }

    public String getPublisherTime() {
        return publisherTime;
    }

    public void setPublisherTime(String publisherTime) {
        this.publisherTime = publisherTime == null ? null : publisherTime.trim();
    }

    public String getWordNum() {
        return wordNum;
    }

    public void setWordNum(String wordNum) {
        this.wordNum = wordNum == null ? null : wordNum.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Long getFirstNavId() {
        return firstNavId;
    }

    public void setFirstNavId(Long firstNavId) {
        this.firstNavId = firstNavId;
    }

    public Long getSecondNavId() {
        return secondNavId;
    }

    public void setSecondNavId(Long secondNavId) {
        this.secondNavId = secondNavId;
    }

    public Long getThirdNavId() {
        return thirdNavId;
    }

    public void setThirdNavId(Long thirdNavId) {
        this.thirdNavId = thirdNavId;
    }

    public String getPictureName() {
        return pictureName;
    }

    public void setPictureName(String pictureName) {
        this.pictureName = pictureName == null ? null : pictureName.trim();
    }

    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile == null ? null : profile.trim();
    }
}